package cn.itcast.anli.dao;

import cn.itcast.anli.domain.Employee;

import java.util.List;
import java.util.Map;

public interface EmployeeDAO {


    void add(Employee employee);

    void delete(int id);

    Employee findById(int id);

    void modify(Employee employee);

    int totalCount(Map<String,String[]> map);


    List<Employee> pageList(int currentPage, int row,Map<String,String[]> map);
}
